package com.hfut.jpoa.model;

import java.io.Serializable;
import java.util.Date;

public class Syspara implements Serializable
{
	/**
	 * 注释内容
	 */
	private static final long serialVersionUID = -4440973005998631421L;

	/**
	 * 字典编码
	 */
	private String id;

	/**
	 * 字典类型
	 */
	private String type;

	/**
	 * 字典名称
	 */
	private String name;

	/**
	 * 创建者
	 */
	private String creator;

	/**
	 * 字典值
	 */
	private String value;

	/**
	 * 排序码
	 */
	private Integer sort;

	/**
	 * 状态
	 */
	private Integer state;

	/**
	 * 创建时间
	 */
	private Date creatDate;

	/**
	 * key
	 */
	private String code;

	/**
	 * 有效状态
	 */
	public final static int STATE_ENABLE = 1;

	/**
	 * 无效状态
	 */
	public final static int STATE_DISABLE = 0;

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id == null ? null : id.trim();
	}

	public String getType()
	{
		return type;
	}

	public void setType(String type)
	{
		this.type = type == null ? null : type.trim();
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name == null ? null : name.trim();
	}

	public Integer getSort()
	{
		return sort;
	}

	public void setSort(Integer sort)
	{
		this.sort = sort;
	}

	/**
	 * @return 返回 creator
	 */
	public String getCreator()
	{
		return creator;
	}

	/**
	 * @param 对creator进行赋值
	 */
	public void setCreator(String creator)
	{
		this.creator = creator;
	}

	/**
	 * @return 返回 value
	 */
	public String getValue()
	{
		return value;
	}

	/**
	 * @param 对value进行赋值
	 */
	public void setValue(String value)
	{
		this.value = value;
	}

	public Integer getState()
	{
		return state;
	}

	public void setState(Integer state)
	{
		this.state = state;
	}

	public Date getCreatDate()
	{
		return creatDate;
	}

	public void setCreatDate(Date creatDate)
	{
		this.creatDate = creatDate;
	}

	public String getCode()
    {
    	return code;
    }

	public void setCode(String code)
    {
    	this.code = code;
    }

	 

	 
}